using Services;

public class PauseUI_MenuButton : MyButton
{
    private SceneController sceneController;
    private void Start()
    {
        sceneController = ServiceLocator.Get<SceneController>();
    }
    protected override void OnClick()
    {
        sceneController.LoadScene(SceneController.MenuIndex);
    }
}
